<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="css/board.css" />
<title>Insert title here</title>
<script type="text/javascript">
function insertBrd(){
	var form = document.insert_form;
	form.action="notice_insert.do";
	form.submit();
}

function cancel(){
	location.href="notice_manage.do";
}
</script>
<style>
	
	.list_view{
		padding-top: 24px;
	}
	
	#titleFont{
		font-family: 맑은 고딕;
		font-size: 13px;
		padding-top: 10px;
		padding-bottom: 10px;
		color: white;
		background-color: #5D5D5D;
	}
	
	#contentsFont{
		font-family: 맑은 고딕;
		font-size: 13px;
		padding-top: 1px;
		padding-bottom: 1px;
		color: #5D5D5D;
	}

	#title{
		display: inline-block;
		width: 90px;
		padding-left: 5px;
		padding-top: 10px;
		padding-bottom: 10px;
	}
	
	#btn{
		display: inline-block;
		vertical-align: top;	
		width : 70px;
		height : 30px;
		font-family : 맑은 고딕;
		background-color : #5D5D5D;
		color : #FFFFFF;	
	}

</style>
</head>
<body>
<form name = "insert_form" method="post">
<div class = 'list_view' align="center">
	<!-- title -->
	<div id = 'titleFont' style ="width: 60%; text-align: left;">
		<span style="padding-left: 10px"><font color = '#F2CB61'>NEW EDITOR</font> / 새로운 글을 작성할 수 있습니다!</span>
	</div>
	
	<!-- contents -->
	<div id = 'contentsFont'  style ="width: 60%; text-align: left; margin-top: 10px;">
		<label><b>공지 제목</b></label>
		<input type = 'text' name = 'title' size = '100%' style = "margin-bottom: 20px;"/><br/>

		<label id = 'content' style = "padding-bottom: 30px"><b>관리자님 방가! 공지를 입력하세요 ;)</b></label>
		<textarea rows="10" cols="10" name = 'content' placeholder="내용을 입력하세요." 
		style = "height: 250px; width: 100%; text-align: top; font-family: 맑은 고딕; margin-top: 10px;"></textarea>   <br/>
	</div>
	
    <p align="center">
        <input class = "findBtn" id = 'insertResultBtn' type = 'button' value = "완료" onclick="insertBrd()" style = "background-color:#AA1212"> 
        <input class = "findBtn" type='button' value='목록으로' onclick='cancel()' style = "width: 90px;"/>
    </p>
</div>
</form>
</body>
</html>